package com.xrit.sunnyday.service;

import com.github.pagehelper.PageInfo;
import com.xrit.sunnyday.entity.QueryPageBean;
import com.xrit.sunnyday.pojo.Setmeal;

import java.util.HashMap;
import java.util.List;

public interface SetMealService {
    List<Setmeal> findAll();

    PageInfo<Setmeal> findPage(QueryPageBean queryPageBean);

    void deleteById(Integer id);

    void add(Setmeal setmeal, Integer[] checkgroupIds);

    HashMap<String,Object> findById(Integer id);

    List<Integer> findSetmealGroupID(Integer id);

    void update(Setmeal setmeal, Integer[] checkgroupIds);

    List<String> findImgs();

    Setmeal findDetailById(Integer id);
}
